package com.ruoyi.consumer.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 代理关系对象 c_agent_relations
 * 
 * @author YFENTEST
 * @date 2023-11-19
 */
public class CAgentRelations extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 关系id编号 */
    private Integer agentId;

    /** 业务员(一级代理id) */
    @Excel(name = "业务员(一级代理id)")
    private Integer superUserId;

    /** 用户账号id编号(下级用户id) */
    @Excel(name = "用户账号id编号(下级用户id)")
    private Integer userId;

    /** 关系路径 1/2/3 */
    @Excel(name = "关系路径 1/2/3")
    private String agentPath;

    /** 代理等级 */
    @Excel(name = "代理等级")
    private String agentLevel;

    /** 邀请二维码 */
    @Excel(name = "邀请二维码")
    private String qrCode;

    /** 是否删除 */
    @Excel(name = "是否删除")
    private Integer isDelete;

    /** 状态，0：正常，1：禁用 */
    @Excel(name = "状态，0：正常，1：禁用")
    private Integer status;

    public void setAgentId(Integer agentId) 
    {
        this.agentId = agentId;
    }

    public Integer getAgentId() 
    {
        return agentId;
    }
    public void setSuperUserId(Integer superUserId) 
    {
        this.superUserId = superUserId;
    }

    public Integer getSuperUserId() 
    {
        return superUserId;
    }
    public void setUserId(Integer userId) 
    {
        this.userId = userId;
    }

    public Integer getUserId() 
    {
        return userId;
    }
    public void setAgentPath(String agentPath) 
    {
        this.agentPath = agentPath;
    }

    public String getAgentPath() 
    {
        return agentPath;
    }
    public void setAgentLevel(String agentLevel) 
    {
        this.agentLevel = agentLevel;
    }

    public String getAgentLevel() 
    {
        return agentLevel;
    }
    public void setQrCode(String qrCode) 
    {
        this.qrCode = qrCode;
    }

    public String getQrCode() 
    {
        return qrCode;
    }
    public void setIsDelete(Integer isDelete) 
    {
        this.isDelete = isDelete;
    }

    public Integer getIsDelete() 
    {
        return isDelete;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("agentId", getAgentId())
            .append("superUserId", getSuperUserId())
            .append("userId", getUserId())
            .append("agentPath", getAgentPath())
            .append("agentLevel", getAgentLevel())
            .append("qrCode", getQrCode())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("isDelete", getIsDelete())
            .append("status", getStatus())
            .toString();
    }
}
